GeminiLabs\SiteReviews\Helpers\Str S

Total Complexity 49
Dependencies 2
Dependents 66
Total lines 303
Lines of code 147
Logical lines of code 75
Comment lines 110
Methods 22
Properties 0

Methods 22

Method Rating Maintainability Complexity Lines of code
startsWith()
S
64 4 9
endsWith()
S
64 4 9
mask()
S
58 3 15
contains()
S
64 4 9
restrictTo()
S
62 3 11
fallback()
S
72 3 5
prefix()
S
65 3 9
replaceFirst()
S
64 3 10
replaceLast()
S
67 3 7
truncate()
S
71 2 5
suffix()
S
71 2 6
join()
S
72 2 5
snakeCase()
S
65 2 8
removePrefix()
S
72 2 5
removeSuffix()
S
72 2 5
titleCase()
S
73 1 4
camelCase()
S
73 1 4
naturalJoin()
S
70 1 5
dashCase()
S
78 1 3
convertPathToName()
S
69 1 6
convertPathToId()
S
77 1 3
random()
S
73 1 4